package com.zlll.winner.mapper.mall;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zlll.winner.business.model.mall.MallSelectGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlll.winner.business.vo.mall.MallGoodsDetailsVo;
import com.zlll.winner.business.vo.mall.MallSelectGoodsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 精选商品 Mapper 接口
 * </p>
 *
 * @author qsx
 * @since 2019-10-08
 */
public interface MallSelectGoodsMapper extends BaseMapper<MallSelectGoods> {
    List<MallGoodsDetailsVo> getMallGoodsDetailsList(@Param("goodsName") String goodsName, @Param("goodsNo") String goodsNo, IPage<MallGoodsDetailsVo> page);
    List<MallSelectGoodsVo> getMallSelectGoodsVoPage(@Param("goodsName") String goodsName, IPage<MallSelectGoodsVo> page);
    List<MallSelectGoodsVo> getMallSelectGoodsVoById(@Param("id")Long id);
}
